package com.findFish.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.findFish.common.annotation.Excel;
import com.findFish.common.core.domain.BaseEntity;

/**
 * 机器鱼控制指令对象 robot_fish_commands
 * 
 * @author admin
 * @date 2025-03-31
 */
public class RobotFishCommands extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 指令D */
    private Long id;

    /** 机器鱼ID */
    @Excel(name = "机器鱼ID")
    private Long robotFishId;

    /** 命令 */
    @Excel(name = "命令")
    private String command;

    /** 发布者 */
    @Excel(name = "发布者")
    private String issuedBy;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date issuedAt;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setRobotFishId(Long robotFishId) 
    {
        this.robotFishId = robotFishId;
    }

    public Long getRobotFishId() 
    {
        return robotFishId;
    }

    public void setCommand(String command) 
    {
        this.command = command;
    }

    public String getCommand() 
    {
        return command;
    }

    public void setIssuedBy(String issuedBy) 
    {
        this.issuedBy = issuedBy;
    }

    public String getIssuedBy() 
    {
        return issuedBy;
    }

    public void setIssuedAt(Date issuedAt) 
    {
        this.issuedAt = issuedAt;
    }

    public Date getIssuedAt() 
    {
        return issuedAt;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("robotFishId", getRobotFishId())
            .append("command", getCommand())
            .append("issuedBy", getIssuedBy())
            .append("issuedAt", getIssuedAt())
            .append("status", getStatus())
            .toString();
    }
}
